namespace LazyLoadDotNet.Domain
{
    public class Address : GhostObject<Address>, IGhostable
    {
        private string number;
        private string streetAddress;
        private string city;
        private int id;
        private string description;

        public string Number
        {
            get { return number; }
            set { number = value; }
        }

        public string StreetAddress
        {
            get { return streetAddress; }
            set { streetAddress = value; }
        }

        public string City
        {
            get { return city; }
            set { city = value; }
        }

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        public string Description
        {
            get { return description; }
            set { description = value; }
        }

        public static void Copy(Address from, Address to)
        {
            to.Number = from.Number;
            to.StreetAddress = from.StreetAddress;
            to.City = from.City;
            to.Description = from.Description;
        }
    }
}